﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Golf.WebUI.AdminShow.CouponsManagement
{
    public partial class CouponsDelet : System.Web.UI.Page
    {
        Golf.BLL.Golf_Coupons bll = new BLL.Golf_Coupons();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Server.UrlDecode(Request.Form["id"].ToString()) != null && Server.UrlDecode(Request.Form["id"].ToString().Trim()) != "")
            {
                int Id = Convert.ToInt32(Server.UrlDecode(Request.Form["id"].ToString()));
                bll.Delete(Id);
                Response.Write("删除成功了？！");

            } Response.Redirect("CommentList.aspx");
        }
    }
}